package cn.fuxue.hrms.common.entity;

/**
 * @author 王文勇
 * @version 1.0
 * 绩效目标相关的数据
 */
public class PerformanceGoal {
    // 主键 ID
    private int id;
    // 员工 id
    private String employeeId;
    // 目标内容
    private String goalContent;
    // 设定时间
    private String setTime;

    // 无参构造函数
    public PerformanceGoal() {
    }

    // 全参构造函数
    public PerformanceGoal(int id, String employeeId, String goalContent, String setTime) {
        this.id = id;
        this.employeeId = employeeId;
        this.goalContent = goalContent;
        this.setTime = setTime;
    }

    // Getter 方法
    public int getId() {
        return id;
    }

    public String getEmployeeId() {
        return employeeId;
    }

    public String getGoalContent() {
        return goalContent;
    }

    public String getSetTime() {
        return setTime;
    }

    // Setter 方法
    public void setId(int id) {
        this.id = id;
    }

    public void setEmployeeId(String employeeId) {
        this.employeeId = employeeId;
    }

    public void setGoalContent(String goalContent) {
        this.goalContent = goalContent;
    }

    public void setSetTime(String setTime) {
        this.setTime = setTime;
    }

    @Override
    public String toString() {
        return "PerformanceGoal{" +
                "id=" + id +
                ", employeeId='" + employeeId + '\'' +
                ", goalContent='" + goalContent + '\'' +
                ", setTime='" + setTime + '\'' +
                '}';
    }
}
